<template>
  <div>
    <p class="p"></p>
    <div class="ye">
      <div v-if="sy" class="btn" @click="backss">上一页</div>
      <div v-if="xy" class="btn" @click="begin">下一页</div>
    </div>
  </div>
</template>

<script>
export default {
  data(){
    return{

    }
  },
  // created
};
</script>

<style>
.p {
  text-indent: 33px;
  line-height: 38px;
  font-size: 16px;
  display: block;
  margin-top: 25px;
}
.ye {
  display: flex;
}
.btn {
  width: 54px;
  height: 34px;
  color: #fff;
  background-color: #2571b3;
  text-align: center;
  line-height: 34px;
  cursor: pointer;
  border-radius: 3px;
  margin-top: 20px;
  margin-left: 10px;
}
</style>